﻿<!DOCTYPE html>
<html>
<!-- 安委会-编辑 -->

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
        <script src="/static/js/common.js"></script>

</head>

<body>
    <div id="app" class="popupW100" v-cloak>
        <el-form label-position="right" :model="Form" status-icon :rules="rules" ref="ruleForm" label-width="100px"
            size="mini">
            <el-row>
                <el-col :span="11">
                    <div class="elst-select-mini">
                        <p class="main-label">
                            {{HistoricalinquiriesonminutesofSecurityCommitteemeetings.Conferencetitle+mark.m}}</p>
                        <p class="lh35">{{Form.name}}</p>
                    </div>
                </el-col>
                <el-col :span="11" :offset="2">
                    <p class="main-label">
                        {{HistoricalinquiriesonminutesofSecurityCommitteemeetings.Dateofaddition+mark.m}}</p>
                    <p class="lh35">{{Form.dateofaddition}}</p>
                </el-col>
                <br><br>
                <el-col :span="11">
                    <div class="elst-select-mini">
                        <p class="main-label">
                            {{HistoricalinquiriesonminutesofSecurityCommitteemeetings.Conferencecontent+mark.m}}</p>
                        <p class="lh35">{{Form.conferencecontent}}</p>
                    </div>
                </el-col>
                <el-col :span="11" :offset="2">
                    <div class="elst-select-mini">
                        <p class="main-label">
                       {{HistoricalinquiriesonminutesofSecurityCommitteemeetings.file+mark.m}}
                        </p>
                        <p class="lh35">
                            <btn-uploadfile-input v-model="Form.attachmentName"
                                                  :fileid="Form.attachmentId" :filename="Form.attachmentName" :showdownload="true" :showupload="false"></btn-uploadfile-input>
                        </p>
                    </div>
                </el-col>
            </el-row>
            <el-row type="flex" justify="end">
                <el-form-item>
                    <el-button type="primary" @click="onBack">{{col.btnclose}}</el-button>
                </el-form-item>
            </el-row>
        </el-form>
    </div>
    <script type="text/javascript">
        var app = new Vue({
            el: '#app',
            data: {
                value1: '',
                // picked : '1',
                //父业传参
                id: '',
                //获取下拉菜单frequency
                frequency: [],
                //业务表单内容
                Form: {
                    id: guidEmpty,
                    Name: '',
                    Dateofaddition: '',
                    Conferencecontent: '',
                    file: '',


                },
                //表单验证
                rules: {
                    // Name: [
                    //     verification.NotNull,
                    // ],
                    // Dateofaddition: [
                    //     verification.NotNull,
                    // ],
                    // Conferencecontent: [
                    //     verification.NotNull,
                    // ],


                }
            },
            methods: {
                //解決edge下select bug
                visibleChange: function (isVisible) {
                    visibleChange(isVisible)
                },
                //提交数据
                onBack: function () {
                    parent.app.ListItem.dialogVisible = false;
                },
                getData: function () {
                    getData(this, '/api/ZB_SafetyMeeting/get?id=' + this.id);
                    this.Form.frequency = this.Form.frequency + "";
                },
            },
            mounted: function () {

                this.id = getUrlParam("id");
                this.getData();
                //获取下拉菜单内容
               // this.frequency = getDicData('56');
                //初始化数据
                // this.GetPageData(1);
                //列表高度自适应
                tablehigh(this);

            },

        });
    </script>
</body>

</html>